package com.baizhi.service;

import com.baizhi.entity.CmfzArticle;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

public interface CmfzArticleService {
    //1、添加
    void insertCmfzArticle(CmfzArticle cmfzArticle);
    //2、删除
    void deleteCmfzArticle(Integer id);
    //3、查询一个
    CmfzArticle selectById(Integer id);
    //4、更新
    void updaetCmfzArticle(CmfzArticle cmfzArticle);
    //5、查询
    Page<CmfzArticle> selectByPage(Integer page,Integer limit);
}
